const bcrypt = require('bcryptjs')

const hashedPassword = bcrypt.hashSync('123', 10) // 生成哈希密码

module.exports = {
  students: [
    { id: 1, name: '张三', age: 20 },
    { id: 2, name: '李四', age: 21 },
    { id: 3, name: '王五', age: 22 },
  ],
  users: [
    { id: 1, username: 'admin', password: hashedPassword }, // 使用哈希密码
    { id: 2, username: 'user', password: hashedPassword }, // 使用哈希密码
  ],
}
